use crate::local_conf::{Conf};
use std::env;
pub fn conf_check(conf:&Conf) -> Result<(),()> {
    let len: usize = conf.mirrors.len();
    if len == 0 {
        return Err(());
    }
    if !conf.version.eq(&env::var("MOD_MANAGER_TOOL_VERSION").unwrap()) {
        return Err(());
    }
   Ok(())
}